package com.lagou.testFastJson;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
public class Person {

    @JSONField(ordinal = 1)
    public String name;

    @JSONField(ordinal = 2)
    public int age ;

    @JSONField(serialize = false)
    public String birthday;

}
